import 'package:flutter_demo/ui/toast/i_toast.dart';
import 'package:flutter_demo/ui/toast/toast_impl.dart';

///@date:  2024/1/18
///@author:  Administrator
///@description: Toast工具类
class ToastUtils {
  ToastUtils._();
  static IToast toast = ToastImpl();

  ///显示Toast
  static void show(String text, {bool isShowLong = false}) {
    toast.show(text, isShowLong: isShowLong);
  }
}